package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 实例类
 *
 * @author zhangyaowen
 * @date 2021/08/18 14:09
 */
@ApiModel
@TableName("sub_book_info")
@Data
@EqualsAndHashCode(callSuper = true)
public class SubBookInfo extends BaseEntity {

    /**
     * 图书id
     */
//    @ApiModelProperty("图书id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 书名
     */
    @ApiModelProperty("书名")
    @TableField("book_name")
    private String bookName;

    /**
     * 主编
     */
    @ApiModelProperty("主编")
    @TableField("chief_editor")
    private String chiefEditor;

    /**
     * 出版
     */
    @ApiModelProperty("出版")
    @TableField("book_publish")
    private String bookPublish;

    /**
     * 书号
     */

    @ApiModelProperty("书号")
    @TableField("book_number")
    private String bookNumber;

    /**
     * 定价
     */
    @ApiModelProperty("定价")
    @TableField("book_price")
    private String bookPrice;

    /**
     * 尺寸
     */
    @ApiModelProperty("尺寸")
    @TableField("book_size")
    private String bookSize;

    /**
     * 印张
     */
    @ApiModelProperty("印张")
    @TableField("book_sheet")
    private String bookSheet;

    /**
     * 出版时间
     */
    @ApiModelProperty("出版时间")
    @TableField("publish_time")
    private String publishTime;

    /**
     * 内容概要
     */
    @ApiModelProperty("内容概要")
    @TableField("content_summary")
    private String contentSummary;

    /**
     * 图书图片路径
     */
    @ApiModelProperty("图书图片路径")
    @TableField("book_path")
    private String bookPath;

    /**
     * 图书推荐
     */
    @ApiModelProperty("图书推荐")
    @TableField("book_recommend")
    private Long bookRecommend;


}